using CookComputing.XmlRpc;

namespace NMollom.Internal {
    public class CheckContentParams : Params {
        [XmlRpcMember("session_id")]
        public string sessionId = "";
        [XmlRpcMember("post_title")]
        public string postTitle = "";
        [XmlRpcMember("post_body")]
        public string postBody = "";
        [XmlRpcMember("author_name")]
        public string authorName = "";
        [XmlRpcMember("author_url")]
        public string authorUrl = "";
        [XmlRpcMember("author_mail")]
        public string authorMail = "";
        [XmlRpcMember("author_openid")]
        public string authorOpenId = "";
        [XmlRpcMember("author_ip")]
        public string authorIp = "";
        [XmlRpcMember("author_id")]
        public string authorId = "";

        public CheckContentParams(Authentication auth) : base(auth) {
        }

        public CheckContentParams(Authentication auth, string sessionId)
            : base(auth) {
            this.sessionId = sessionId;
        }
    }
}
